<html>
	
	<head>
		<meta charset="utf-8" />
		<title>商品列表</title>
	</head>

	<body>
		
		<a href="{:U('add_goods')}">添加商品</a>
	

		<table border="1" width="800">
			
			<tr>
				<th>名称</th>
				<th>描述</th>
				<th>详情</th>
				<th>价格</th>
				<th>数量</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			<tbody id="goods_list">
				<foreach name="data" item="value">
					<tr>
						<td>{$value.goods_name}</td>
						<td>{$value.goods_desc}</td>
						<td>{$value.goods_detail}</td>
						<td>{$value.goods_price}</td>
						<td>{$value.goods_num}</td>
						<td>{$value.status}</td>
						<td>
							<a href="#">删除</a><a href="#">修改</a><a href="#">下架</a><a href="#">上架</a>
						</td>
					</tr>
				</foreach>
			</tbody>	


		</table>


	</body>

</html>


